From 9d0152d7b7f9884f3cf3948c789c1e324ecdeec3 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 8 Oct 2003 18:58:57 +0000 Subject: [PATCH] Misc minor cleanups. --- tiger.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tiger.c b/tiger.c index 8474989a8..852fe3457 100644 --- a/tiger.c +++ b/tiger.c @@ -20,18 +20,17 @@ */ #include "defs.h" -#include "magellan.h" +// #include "magellan.h" #include "csv_util.h" static FILE *file_in; static FILE *file_out; -static FILE *linkf; static void *mkshort_handle; static void *mkshort_whandle; #define MYNAME "GPSUTIL" -static double maxlat, maxlon, minlat, minlon, latsum, lonsum; +static double maxlat, maxlon, minlat, minlon; int rec_cnt; static char *nolabels = NULL; static char *genurl = NULL; @@ -56,6 +55,7 @@ int thresh_days; * the projection transformations. Some trig geek can finish that. */ #if CLICKMAP +static FILE *linkf; static char *clickmap = NULL; #endif @@ -187,6 +187,7 @@ tiger_disp(const waypoint *wpt) fprintf(file_out, "\n"); } +#if CLICKMAP static void map_plot(const waypoint *wpt) { @@ -198,6 +199,7 @@ map_plot(const waypoint *wpt) fprintf(linkf, "\"%s\"\n",url, wpt->description); } +#endif /* CLICKMAP */ static double dscale(double distance) -- 2.30.2